package org.wang.generalcode.modules.exam.converter;

import org.mapstruct.Mapper;
import org.wang.generalcode.modules.exam.pojo.entity.QuestionInfoEntity;
import org.wang.generalcode.modules.exam.pojo.vo.QuestionInfoVO;

/**
 * 试题信息表对象转换器
 *
 * @author wz
 * @since 2024-11-22
 */
@Mapper(componentModel = "spring")
public interface QuestionInfoConverter {

    QuestionInfoVO toForm(QuestionInfoEntity entity);

    QuestionInfoEntity toEntity(QuestionInfoVO formData);
}